package com.cai.activiti_demo1.delegate;

import lombok.extern.slf4j.Slf4j;
import org.activiti.engine.delegate.DelegateExecution;
import org.activiti.engine.delegate.JavaDelegate;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Slf4j
public class MySecondDelegate implements JavaDelegate {
    @Override
    public void execute(DelegateExecution execution) {
        //log.info("【待办任务提醒】合同审批 "+ LocalDateTime.now());
        log.debug("服务任务2执行了..."+ LocalDate.now());
    }
}
